package com.ocom.webapi.controller;

import lombok.extern.slf4j.Slf4j;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Description: TODO
 * @Author: 朱晖
 * @Date: 2022/5/20
 **/
@Slf4j
@RestController
public class LogTestController {
	private final Logger logger = LoggerFactory.getLogger(LogTestController.class);

	@GetMapping("/test9867")
	public String testLog(){
		log.info("123");
		log.error("456");
		log.warn("789");
		logger.info("123");
		logger.error("456");
		logger.warn("789");
		return  "succ";
	}
}
